home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Precision Software Appli…tions Silver Collection 1
/
Precision Software Applications Silver Collection Volume One (PSM) (1993).iso
/
tutor
/
dosguide.exe
/
HELPDOS.ZIP
/
RECOVER.HLP
< prev
next >
Wrap
Text File
|
1987-10-08
|
3KB
|
73 lines
---------------------- RECOVER - External DOS Command ------------------------
RECOVER recovers information from a disk that has defective sectors. The file
that contains the bad sectors can be recovered minus the information
contained in the bad sectors. All files on the disk can be recovered if the
directory is damaged.
FORMAT: To recover a single file: RECOVER [d:][path]filename[.ext]
To recover all files: RECOVER d:
REMARKS:
To Recover a Single File:
d: - the drive letter of the disk where recovery is to be done. If
you are recovering selected files, and you omit d:, the default
drive is assumed.
path - the directory path to the file to be recovered. If omitted,
the current directory is assumed.
filename - the filename of the file to be recovered.
.ext - the filename extension of the file to be recovered.
RECOVER recovers just one file at a time. If Global characters (* and ?)
are used for the filename or extension, only the first file matching the
specification will be recovered.
After recovering a file, it should be edited to check what data is missing
and to remove unwanted data from the end of the file.
The size of the recovered file is a multiple of DOS allocation units and
is normally larger than the original file.
RECOVER does not restore files that have been erased.
DOS stores files in segments of disk storage called sectors. A sector is
512 bytes. If you get error messages from DOS when trying to use a file,
it is possible that one or more of the sectors containing the file's
information has become unreadable. RECOVER checks each sector of the
file, retains the information from the good sectors, and eliminates the
data from the bad sectors. The file's name is not changed. The bad
sectors are marked as not usable to prevent future use of the sectors.
To Recover All Files:
WARNING: This use of RECOVER should be done ONLY if the directory of the
disk has been damaged.
d: - the drive letter of the disk to be recovered. It must be specified.
This form of RECOVER recovers ALL files to the form FILEnnnn.REC (where
nnnn is a sequential number starting with 0001). Each file of this form
points to one of the recovered files. The original filenames, even if
they were in a valid part of the directory, are replaced with the
FILEnnnn.REC files.
In DOS Version 3, you may preface RECOVER with the drive letter and directory
path, [d:][path], where the command file can be found.
EXAMPLE:
Recover the file MYFILE that has developed defective sectors. MYFILE is on the
default drive in the current directory:
RECOVER MYFILE
After recovery, MYFILE will contain data from the valid sectors only. It
should then be edited to review what data was lost and to remove any unwanted
data.